package com.youlai.boot.modules.category.model;

import org.springframework.web.multipart.MultipartFile;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "分类表单对象")
@Getter
@Setter
public class CategoryForm {
    @Schema(description = "分类ID", example = "1001")
    private Long id;

    @Schema(description = "分类名称", example = "行业大类")
    private String name;

    @Schema(description = "图标")
    private String logo;

    @Schema(description = "级别", example = "1,2,3")
    private Integer type;

    @Schema(description = "父分类ID", example = "1000")
    private Long parentId;

    @Schema(description = "排序", example = "1")
    private Integer sort;

    @Schema(description = "是否在 App 首页展示", example = "1")
    private Integer showInHome;

    @Schema(description = "是否显示", example = "1")
    private Integer showFlag;
}
